Carbon


StdRect

Header: Quickdraw.h Carbon status: Supported

QuickDraw’s standard low-level function for drawing a rectangle.

void StdRect (
    GrafVerb verb, 
    const Rect *r
);
verb

The action to perform. See “Verb Constants”

r

The rectangle to draw.

DISCUSSION

The StdRect function draws the rectangle specified in the r parameter according to the action specified in the verb parameter.

You should only call this low-level function from your customized QuickDraw functions.

SPECIAL CONSIDERATIONS

The StdRect function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)